package com.smart.model.dtomapper;

import com.smart.model.domain.ProjectStatusAxisDO;
import com.smart.model.request.ProjectStatusAxisRequest;
import com.smart.model.vo.ProjectStatusAxisVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhanghong
 */
@Mapper(componentModel = "spring")
public interface ProjectStatusAxisDtoMapper {

    ProjectStatusAxisDtoMapper INSTANCE = Mappers.getMapper(ProjectStatusAxisDtoMapper.class);

    /**
    * DO to VO
    * @param projectStatusAxisDO
    * @return
    */
    ProjectStatusAxisVO do2VO(ProjectStatusAxisDO projectStatusAxisDO);

    /**
     * request to DO
     * @param request
     * @return
     */
    ProjectStatusAxisDO request2DO(ProjectStatusAxisRequest request);
}
